package com.bsoft.gol.hbs.dao;

import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import hcn.base.ServItemTemplate;
import org.atag.dao.ext.HibernateExtendDAO;

/**
 * description
 *
 * @author neoLin - 2022/09/21 14:06
 **/
public abstract class ServItemTemplateDAO extends HibernateExtendDAO<ServItemTemplate> {


    @DAOMethod(sql = "FROM ServItemTemplate WHERE tenantId=:tenantId AND orgCd=:orgCd AND serviceName=:serviceName ")
    public abstract ServItemTemplate getByManageUnit(@DAOParam("tenantId") String tenantId, @DAOParam("orgCd") String orgCd
            , @DAOParam("serviceName") String serviceName);
}
